package com.niit.session5.operator;

import java.util.Scanner;

public class PrintNum {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		System.out.print("请输入一个三位的整数：");
		int num = sc.nextInt();
		System.out.println(num%10);
		System.out.println(num/10%10);
		System.out.println(num/100%10);
		sc.close();
	}

}
